package com.autumn.admin.server;

import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Configuration;

import de.codecentric.boot.admin.config.EnableAdminServer;

/**
 * 
 * @author 老码农
 *
 *         2018-04-02 10:08:32
 */
@SpringBootApplication
@Configuration
@EnableAutoConfiguration
@EnableEurekaClient
@EnableAdminServer
public class AdminServerApplication {
	/**
	 * 
	 * @param args
	 *
	 */
	public static void main(String[] args) {
		//ZuulServerAutoConfiguration aa;
		SpringApplicationBuilder app = new SpringApplicationBuilder(AdminServerApplication.class);
		app.bannerMode(Banner.Mode.OFF).run(args);
	}
}
